package com.yzy.fly.mapper;

import com.yzy.fly.entity.role.FlyModelData;
import com.yzy.fly.kernel.mapper.FlyBasicMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FlyRoleDataMapper extends FlyBasicMapper<FlyModelData> {
//    @Select("select * from fly_model_data a where 1=1 ")
//    List<FlyModel> selectAllList();

    @Select("select * from fly_model_data a where 1=1 and a.globalId = #{globalId}")
    List<FlyModelData> selectAllByGlobalId(@Param("globalId") Long globalId);
}
